<%@ page import="com.lagou.edu.pojo.Resume" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    Long id = null;
    String name = "";
    String address = "";
    String phone = "";
    Object resumeObj = request.getAttribute("resume");
    if (resumeObj != null) {
        Resume resume = (Resume) resumeObj;
        id = resume.getId();
        name = resume.getName();
        address = resume.getAddress();
        phone = resume.getPhone();
    }
%>

<html>
<head>
    <title>update</title>
    <script type="text/javascript" src="/js/jquery.min.js"></script>

</head>
<body>

<form action="save" method="POST">
    ID：<input type="text" name="id" value="<%=id%>" readonly><br>
    姓名：<input type="text" name="name" value="<%=name%>"><br>
    地址：<input type="text" name="address" value="<%=address%>"><br>
    手机号：<input type="text" name="phone" value="<%=phone%>"><br>
    <input type="submit" value="提交"/>
</form>

</body>
</html>